Integrand size = 29, antiderivative size = 87 \[ \int \frac {x^2 \left (a+b x^2\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx=\frac {\left (3 b+4 a c^2\right ) x \sqrt {-1+c x} \sqrt {1+c x}}{8 c^4}+\frac {b x^3 \sqrt {-1+c x} \sqrt {1+c x}}{4 c^2}+\frac {\left (3 b+4 a c^2\right ) \text {arccosh}(c x)}{8 c^5} \]
1/8*(4*a*c^2+3*b)*arccosh(c*x)/c^5+1/8*(4*a*c^2+3*b)*x*(c*x-1)^(1/2)*(c*x+ 1)^(1/2)/c^4+1/4*b*x^3*(c*x-1)^(1/2)*(c*x+1)^(1/2)/c^2
Time = 0.25 (sec) , antiderivative size = 77, normalized size of antiderivative = 0.89 \[ \int \frac {x^2 \left (a+b x^2\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx=\frac {c x \sqrt {-1+c x} \sqrt {1+c x} \left (4 a c^2+b \left (3+2 c^2 x^2\right )\right )+\left (6 b+8 a c^2\right ) \text {arctanh}\left (\sqrt {\frac {-1+c x}{1+c x}}\right )}{8 c^5} \]
(c*x*Sqrt[-1 + c*x]*Sqrt[1 + c*x]*(4*a*c^2 + b*(3 + 2*c^2*x^2)) + (6*b + 8 *a*c^2)*ArcTanh[Sqrt[(-1 + c*x)/(1 + c*x)]])/(8*c^5)
Time = 0.21 (sec) , antiderivative size = 82, normalized size of antiderivative = 0.94, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.103, Rules used = {960, 101, 43}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {x^2 \left (a+b x^2\right )}{\sqrt {c x-1} \sqrt {c x+1}} \, dx\) |
\(\Big \downarrow \) 960 |
\(\displaystyle \frac {1}{4} \left (4 a+\frac {3 b}{c^2}\right ) \int \frac {x^2}{\sqrt {c x-1} \sqrt {c x+1}}dx+\frac {b x^3 \sqrt {c x-1} \sqrt {c x+1}}{4 c^2}\) |
\(\Big \downarrow \) 101 |
\(\displaystyle \frac {1}{4} \left (4 a+\frac {3 b}{c^2}\right ) \left (\frac {\int \frac {1}{\sqrt {c x-1} \sqrt {c x+1}}dx}{2 c^2}+\frac {x \sqrt {c x-1} \sqrt {c x+1}}{2 c^2}\right )+\frac {b x^3 \sqrt {c x-1} \sqrt {c x+1}}{4 c^2}\) |
\(\Big \downarrow \) 43 |
\(\displaystyle \frac {1}{4} \left (4 a+\frac {3 b}{c^2}\right ) \left (\frac {\text {arccosh}(c x)}{2 c^3}+\frac {x \sqrt {c x-1} \sqrt {c x+1}}{2 c^2}\right )+\frac {b x^3 \sqrt {c x-1} \sqrt {c x+1}}{4 c^2}\) |
(b*x^3*Sqrt[-1 + c*x]*Sqrt[1 + c*x])/(4*c^2) + ((4*a + (3*b)/c^2)*((x*Sqrt [-1 + c*x]*Sqrt[1 + c*x])/(2*c^2) + ArcCosh[c*x]/(2*c^3)))/4
3.4.50.3.1 Defintions of rubi rules used
Int[1/(Sqrt[(a_) + (b_.)*(x_)]*Sqrt[(c_) + (d_.)*(x_)]), x_Symbol] :> Simp[ ArcCosh[b*(x/a)]/(b*Sqrt[d/b]), x] /; FreeQ[{a, b, c, d}, x] && EqQ[b*c + a *d, 0] && GtQ[a, 0] && GtQ[d/b, 0]
Int[((a_.) + (b_.)*(x_))^2*((c_.) + (d_.)*(x_))^(n_)*((e_.) + (f_.)*(x_))^( p_), x_] :> Simp[b*(a + b*x)*(c + d*x)^(n + 1)*((e + f*x)^(p + 1)/(d*f*(n + p + 3))), x] + Simp[1/(d*f*(n + p + 3)) Int[(c + d*x)^n*(e + f*x)^p*Simp [a^2*d*f*(n + p + 3) - b*(b*c*e + a*(d*e*(n + 1) + c*f*(p + 1))) + b*(a*d*f *(n + p + 4) - b*(d*e*(n + 2) + c*f*(p + 2)))*x, x], x], x] /; FreeQ[{a, b, c, d, e, f, n, p}, x] && NeQ[n + p + 3, 0]
Int[((e_.)*(x_))^(m_.)*((a1_) + (b1_.)*(x_)^(non2_.))^(p_.)*((a2_) + (b2_.) *(x_)^(non2_.))^(p_.)*((c_) + (d_.)*(x_)^(n_)), x_Symbol] :> Simp[d*(e*x)^( m + 1)*(a1 + b1*x^(n/2))^(p + 1)*((a2 + b2*x^(n/2))^(p + 1)/(b1*b2*e*(m + n *(p + 1) + 1))), x] - Simp[(a1*a2*d*(m + 1) - b1*b2*c*(m + n*(p + 1) + 1))/ (b1*b2*(m + n*(p + 1) + 1)) Int[(e*x)^m*(a1 + b1*x^(n/2))^p*(a2 + b2*x^(n /2))^p, x], x] /; FreeQ[{a1, b1, a2, b2, c, d, e, m, n, p}, x] && EqQ[non2, n/2] && EqQ[a2*b1 + a1*b2, 0] && NeQ[m + n*(p + 1) + 1, 0]
Time = 4.28 (sec) , antiderivative size = 111, normalized size of antiderivative = 1.28
method | result | size |
risch | \(\frac {x \left (2 b \,c^{2} x^{2}+4 c^{2} a +3 b \right ) \sqrt {c x -1}\, \sqrt {c x +1}}{8 c^{4}}+\frac {\left (4 c^{2} a +3 b \right ) \ln \left (\frac {c^{2} x}{\sqrt {c^{2}}}+\sqrt {c^{2} x^{2}-1}\right ) \sqrt {\left (c x -1\right ) \left (c x +1\right )}}{8 c^{4} \sqrt {c^{2}}\, \sqrt {c x -1}\, \sqrt {c x +1}}\) | \(111\) |
default | \(\frac {\sqrt {c x -1}\, \sqrt {c x +1}\, \left (2 \,\operatorname {csgn}\left (c \right ) c^{3} \sqrt {c^{2} x^{2}-1}\, b \,x^{3}+4 \,\operatorname {csgn}\left (c \right ) c^{3} \sqrt {c^{2} x^{2}-1}\, a x +3 \,\operatorname {csgn}\left (c \right ) c \sqrt {c^{2} x^{2}-1}\, b x +4 \ln \left (\left (\sqrt {c^{2} x^{2}-1}\, \operatorname {csgn}\left (c \right )+c x \right ) \operatorname {csgn}\left (c \right )\right ) a \,c^{2}+3 \ln \left (\left (\sqrt {c^{2} x^{2}-1}\, \operatorname {csgn}\left (c \right )+c x \right ) \operatorname {csgn}\left (c \right )\right ) b \right ) \operatorname {csgn}\left (c \right )}{8 c^{5} \sqrt {c^{2} x^{2}-1}}\) | \(147\) |
1/8*x*(2*b*c^2*x^2+4*a*c^2+3*b)*(c*x-1)^(1/2)*(c*x+1)^(1/2)/c^4+1/8*(4*a*c ^2+3*b)/c^4*ln(c^2*x/(c^2)^(1/2)+(c^2*x^2-1)^(1/2))/(c^2)^(1/2)*((c*x-1)*( c*x+1))^(1/2)/(c*x-1)^(1/2)/(c*x+1)^(1/2)
Time = 0.26 (sec) , antiderivative size = 77, normalized size of antiderivative = 0.89 \[ \int \frac {x^2 \left (a+b x^2\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx=\frac {{\left (2 \, b c^{3} x^{3} + {\left (4 \, a c^{3} + 3 \, b c\right )} x\right )} \sqrt {c x + 1} \sqrt {c x - 1} - {\left (4 \, a c^{2} + 3 \, b\right )} \log \left (-c x + \sqrt {c x + 1} \sqrt {c x - 1}\right )}{8 \, c^{5}} \]
1/8*((2*b*c^3*x^3 + (4*a*c^3 + 3*b*c)*x)*sqrt(c*x + 1)*sqrt(c*x - 1) - (4* a*c^2 + 3*b)*log(-c*x + sqrt(c*x + 1)*sqrt(c*x - 1)))/c^5
Timed out. \[ \int \frac {x^2 \left (a+b x^2\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx=\text {Timed out} \]
Time = 0.28 (sec) , antiderivative size = 113, normalized size of antiderivative = 1.30 \[ \int \frac {x^2 \left (a+b x^2\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx=\frac {\sqrt {c^{2} x^{2} - 1} b x^{3}}{4 \, c^{2}} + \frac {\sqrt {c^{2} x^{2} - 1} a x}{2 \, c^{2}} + \frac {a \log \left (2 \, c^{2} x + 2 \, \sqrt {c^{2} x^{2} - 1} c\right )}{2 \, c^{3}} + \frac {3 \, \sqrt {c^{2} x^{2} - 1} b x}{8 \, c^{4}} + \frac {3 \, b \log \left (2 \, c^{2} x + 2 \, \sqrt {c^{2} x^{2} - 1} c\right )}{8 \, c^{5}} \]
1/4*sqrt(c^2*x^2 - 1)*b*x^3/c^2 + 1/2*sqrt(c^2*x^2 - 1)*a*x/c^2 + 1/2*a*lo g(2*c^2*x + 2*sqrt(c^2*x^2 - 1)*c)/c^3 + 3/8*sqrt(c^2*x^2 - 1)*b*x/c^4 + 3 /8*b*log(2*c^2*x + 2*sqrt(c^2*x^2 - 1)*c)/c^5
Time = 0.28 (sec) , antiderivative size = 121, normalized size of antiderivative = 1.39 \[ \int \frac {x^2 \left (a+b x^2\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx=\frac {{\left ({\left (c x + 1\right )} {\left (2 \, {\left (c x + 1\right )} {\left (\frac {{\left (c x + 1\right )} b}{c^{4}} - \frac {3 \, b}{c^{4}}\right )} + \frac {4 \, a c^{18} + 9 \, b c^{16}}{c^{20}}\right )} - \frac {4 \, a c^{18} + 5 \, b c^{16}}{c^{20}}\right )} \sqrt {c x + 1} \sqrt {c x - 1} - \frac {2 \, {\left (4 \, a c^{2} + 3 \, b\right )} \log \left (\sqrt {c x + 1} - \sqrt {c x - 1}\right )}{c^{4}}}{8 \, c} \]
1/8*(((c*x + 1)*(2*(c*x + 1)*((c*x + 1)*b/c^4 - 3*b/c^4) + (4*a*c^18 + 9*b *c^16)/c^20) - (4*a*c^18 + 5*b*c^16)/c^20)*sqrt(c*x + 1)*sqrt(c*x - 1) - 2 *(4*a*c^2 + 3*b)*log(sqrt(c*x + 1) - sqrt(c*x - 1))/c^4)/c
Time = 29.41 (sec) , antiderivative size = 720, normalized size of antiderivative = 8.28 \[ \int \frac {x^2 \left (a+b x^2\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx=\frac {\frac {23\,b\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^3}{2\,{\left (\sqrt {c\,x+1}-1\right )}^3}+\frac {333\,b\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^5}{2\,{\left (\sqrt {c\,x+1}-1\right )}^5}+\frac {671\,b\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^7}{2\,{\left (\sqrt {c\,x+1}-1\right )}^7}+\frac {671\,b\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^9}{2\,{\left (\sqrt {c\,x+1}-1\right )}^9}+\frac {333\,b\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^{11}}{2\,{\left (\sqrt {c\,x+1}-1\right )}^{11}}+\frac {23\,b\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^{13}}{2\,{\left (\sqrt {c\,x+1}-1\right )}^{13}}-\frac {3\,b\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^{15}}{2\,{\left (\sqrt {c\,x+1}-1\right )}^{15}}-\frac {3\,b\,\left (\sqrt {c\,x-1}-\mathrm {i}\right )}{2\,\left (\sqrt {c\,x+1}-1\right )}}{c^5-\frac {8\,c^5\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^2}{{\left (\sqrt {c\,x+1}-1\right )}^2}+\frac {28\,c^5\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^4}{{\left (\sqrt {c\,x+1}-1\right )}^4}-\frac {56\,c^5\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^6}{{\left (\sqrt {c\,x+1}-1\right )}^6}+\frac {70\,c^5\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^8}{{\left (\sqrt {c\,x+1}-1\right )}^8}-\frac {56\,c^5\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^{10}}{{\left (\sqrt {c\,x+1}-1\right )}^{10}}+\frac {28\,c^5\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^{12}}{{\left (\sqrt {c\,x+1}-1\right )}^{12}}-\frac {8\,c^5\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^{14}}{{\left (\sqrt {c\,x+1}-1\right )}^{14}}+\frac {c^5\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^{16}}{{\left (\sqrt {c\,x+1}-1\right )}^{16}}}-\frac {\frac {14\,a\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^3}{{\left (\sqrt {c\,x+1}-1\right )}^3}+\frac {14\,a\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^5}{{\left (\sqrt {c\,x+1}-1\right )}^5}+\frac {2\,a\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^7}{{\left (\sqrt {c\,x+1}-1\right )}^7}+\frac {2\,a\,\left (\sqrt {c\,x-1}-\mathrm {i}\right )}{\sqrt {c\,x+1}-1}}{c^3-\frac {4\,c^3\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^2}{{\left (\sqrt {c\,x+1}-1\right )}^2}+\frac {6\,c^3\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^4}{{\left (\sqrt {c\,x+1}-1\right )}^4}-\frac {4\,c^3\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^6}{{\left (\sqrt {c\,x+1}-1\right )}^6}+\frac {c^3\,{\left (\sqrt {c\,x-1}-\mathrm {i}\right )}^8}{{\left (\sqrt {c\,x+1}-1\right )}^8}}+\frac {2\,a\,\mathrm {atanh}\left (\frac {\sqrt {c\,x-1}-\mathrm {i}}{\sqrt {c\,x+1}-1}\right )}{c^3}+\frac {3\,b\,\mathrm {atanh}\left (\frac {\sqrt {c\,x-1}-\mathrm {i}}{\sqrt {c\,x+1}-1}\right )}{2\,c^5} \]
((23*b*((c*x - 1)^(1/2) - 1i)^3)/(2*((c*x + 1)^(1/2) - 1)^3) + (333*b*((c* x - 1)^(1/2) - 1i)^5)/(2*((c*x + 1)^(1/2) - 1)^5) + (671*b*((c*x - 1)^(1/2 ) - 1i)^7)/(2*((c*x + 1)^(1/2) - 1)^7) + (671*b*((c*x - 1)^(1/2) - 1i)^9)/ (2*((c*x + 1)^(1/2) - 1)^9) + (333*b*((c*x - 1)^(1/2) - 1i)^11)/(2*((c*x + 1)^(1/2) - 1)^11) + (23*b*((c*x - 1)^(1/2) - 1i)^13)/(2*((c*x + 1)^(1/2) - 1)^13) - (3*b*((c*x - 1)^(1/2) - 1i)^15)/(2*((c*x + 1)^(1/2) - 1)^15) - (3*b*((c*x - 1)^(1/2) - 1i))/(2*((c*x + 1)^(1/2) - 1)))/(c^5 - (8*c^5*((c* x - 1)^(1/2) - 1i)^2)/((c*x + 1)^(1/2) - 1)^2 + (28*c^5*((c*x - 1)^(1/2) - 1i)^4)/((c*x + 1)^(1/2) - 1)^4 - (56*c^5*((c*x - 1)^(1/2) - 1i)^6)/((c*x + 1)^(1/2) - 1)^6 + (70*c^5*((c*x - 1)^(1/2) - 1i)^8)/((c*x + 1)^(1/2) - 1 )^8 - (56*c^5*((c*x - 1)^(1/2) - 1i)^10)/((c*x + 1)^(1/2) - 1)^10 + (28*c^ 5*((c*x - 1)^(1/2) - 1i)^12)/((c*x + 1)^(1/2) - 1)^12 - (8*c^5*((c*x - 1)^ (1/2) - 1i)^14)/((c*x + 1)^(1/2) - 1)^14 + (c^5*((c*x - 1)^(1/2) - 1i)^16) /((c*x + 1)^(1/2) - 1)^16) - ((14*a*((c*x - 1)^(1/2) - 1i)^3)/((c*x + 1)^( 1/2) - 1)^3 + (14*a*((c*x - 1)^(1/2) - 1i)^5)/((c*x + 1)^(1/2) - 1)^5 + (2 *a*((c*x - 1)^(1/2) - 1i)^7)/((c*x + 1)^(1/2) - 1)^7 + (2*a*((c*x - 1)^(1/ 2) - 1i))/((c*x + 1)^(1/2) - 1))/(c^3 - (4*c^3*((c*x - 1)^(1/2) - 1i)^2)/( (c*x + 1)^(1/2) - 1)^2 + (6*c^3*((c*x - 1)^(1/2) - 1i)^4)/((c*x + 1)^(1/2) - 1)^4 - (4*c^3*((c*x - 1)^(1/2) - 1i)^6)/((c*x + 1)^(1/2) - 1)^6 + (c^3* ((c*x - 1)^(1/2) - 1i)^8)/((c*x + 1)^(1/2) - 1)^8) + (2*a*atanh(((c*x -...